<?php

class IndexController extends Controller {
    /**
     * @final   pacote das views deste controller
     */
    const PACKAGE_VIEW = 'index';

    /**
     * @method  showIndex
     *
     * Exibe a index padrao do sistema
     *
     * @since   Setembro de 2011
     * @author  Richard Brandao <richardsbrandao@gmail.com>
     */
    public function showIndex() {
        $this->view('home', self::PACKAGE_VIEW);
    }

    public function permissaoNegada() {
        $this->view('permissao_negada', self::PACKAGE_VIEW);
        Dracosys::cleanSessionValue(SESSION_SYSTEM, 'PermissionMessage');
    }

}

?>
